import Vue from 'vue'
import Vuex from 'vuex'

import state from '../vuex/state'
import getters from '../vuex/getter'
import mutations from '../vuex/mutation'
import actions from '../vuex/action'

Vue.use(Vuex);

const store = new Vuex.Store({
  state,
  getters,
  mutations,
  actions
});

export default store;
